package com.firewolf.spring.beanlife;

public class Car {
	private String brand;

	public Car() {
		System.out.println("constructor...");
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		System.out.println("setBrand...");
		this.brand = brand;
	}

	public void init() {
		System.out.println("init...");
	}

	public void destory() {
		System.out.println("destory...");
	}

	@Override
	public String toString() {
		return "Car [brand=" + brand + "]";
	}
}